package com.chang.bootplus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chang.bootplus.base.database.EntityBase;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chang
 * @since 2022-01-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("matrix_shopcart")
@ApiModel(value = "MatrixShopcart对象", description = "")
public class MatrixShopcart extends EntityBase {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("商品id")
    private Long proId;

    @ApiModelProperty("商品个数")
    private Integer count;

    @ApiModelProperty("商品总价")
    private BigDecimal amount;

    @ApiModelProperty("是否结算/结算后移除购物车")
    private Integer payStatus;

}
